package com.cheyun.netsalev3.bean

import androidx.databinding.BaseObservable
import androidx.databinding.Bindable
import com.cheyun.netsalev3.BR
import java.io.Serializable

data class CarPinPaParam(
        val id: Int,
        val letter: String,
        val title: String,
        val url: String
) : BaseObservable(), Serializable {

    @get:Bindable
    var IsSelect: Boolean = false
        set(isSelect) {
            field = isSelect
            notifyPropertyChanged(BR.isSelect)
        }
    //是否为头部
    var IsTop = false

    constructor(id: Int,
                letter: String,
                title: String) : this(id, letter, title, "")
}